package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 更新会员角色菜单关联按钮接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-06-30
 */
public class MemberRoleUpdateButtonVO implements Serializable {
    private static final long serialVersionUID = -4372555199175950054L;

    /**
     * 角色Id
     */
    @NotNull(message = "会员角色Id要大于0")
    @Positive(message = "会员角色Id要大于0")
    private Long memberRoleId;

    /**
     * 左侧勾选的菜单Id
     */
    @NotNull(message = "菜单Id要大于0")
    @Positive(message = "菜单Id要大于0")
    private Long menuId;

    /**
     * 右侧勾选按钮Id列表
     */
    private List<Long> buttonIds;

    public Long getMemberRoleId() {
        return memberRoleId;
    }

    public void setMemberRoleId(Long memberRoleId) {
        this.memberRoleId = memberRoleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public List<Long> getButtonIds() {
        return buttonIds;
    }

    public void setButtonIds(List<Long> buttonIds) {
        this.buttonIds = buttonIds;
    }
}
